﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Student student = new Student(19, "卢姥爷", 99);//18,卢姥爷，99是实参；
            student.Input();
            Student student1 = new Student(8, "喜洋洋");//8,喜洋洋是实参；
            student1.Input();
            Student student2 = new Student(21);//13是实参
            student2.Input();
            
            Refclass refclass = new Refclass( );
            Console.WriteLine("请输入你要验证是否为3的倍数的数字");
            int a = Console.Read();//这里的a是实参
            bool num = refclass.Judge(ref a);//这里的num是实参
            Console.WriteLine("得到的结果是" + num);
            Console.WriteLine(a);

            Outclass outclass = new Outclass();

            bool num2;
            outclass.Juage(40, out num2);

            Console.WriteLine( num2);
           


        }
    }
   
   
    
}
